﻿//********************************************************************************//
//创建日期：<创建日期，2010-08-02>
//创建作者：<王一飞，wangyifei@shanghai3h.com>
//功能说明：YS_JX_GONGSIXXBLL层
//********************************************************************************//
namespace BLL
{
    using Access;
    public class YS_JX_GONGSIXXBLL : YS_JX_GONGSIXXProcess
    {
        #region Field
        private string ConnectionString;
        #endregion
        #region Construction
        public YS_JX_GONGSIXXBLL()
        {
            ConnectionString = base.conn;
        }
        #endregion
        #region Method

        /// <summary>
        /// 按编号更新指定月的公司信息
        /// </summary>
        /// <param name="juxx"></param>
        /// <param name="leixing">null:更新本月下月 0:本月 1:下月</param>
        public void UpdateByLeixing(Entity.YS_JX_GONGSIXX gs, int? leixing)
        {
            new SpHelper().P_UPDYS_GONGSIXX(gs.S_ZHANDIANBH,gs.S_BIANHAO,gs.S_MINGCHENG,gs.S_JUBIANH,gs.S_DIZHI,gs.S_YOUBIAN,gs.S_LIANXIBM,gs.S_LIANXIR,gs.S_LIANXIDH,gs.I_YEWUY,gs.I_XIUGAIR,gs.S_BEIZHU
                                            , gs.I_JLZT, gs.S_CAOZUOR, gs.S_BEIYONG1, gs.S_BEIYONG2, gs.I_BEIYONG3, gs.I_BEIYONG4, leixing);
        }

        #endregion
    }
}